<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>    
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>        
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询前三</title>
<jsp:include page="/common.jsp"></jsp:include>
</head>
<body>
	<ul class="breadcrumb alert-success">
		前三数量查询
	</ul>
	<form class="well form-inline" id="form" action="<%=basePath %>sales/salesTicket?queryTop3Amount" method="post">
		<label>时间:<input type="text" name="date" class="Wdate" onfocus="WdatePicker()" placeholder="请输入选择时间 "></label>
		<label>日查询:<input type="radio" name="type" value="0" checked="checked"></label>
		<label>月查询:<input type="radio" name="type" value="1"></label>
		<label>人员:
			<form:select path="saler" title="人员" name="saler">
				<form:option value=""></form:option>
				<form:options items="${saler }" />
			</form:select>
		</label>
		<label>店铺:
			<form:select path="shop" title="店铺" name="shop">
				<form:option value=""></form:option>
				<form:options items="${shop }"/>
			</form:select>
		</label>
		<button class="btn btn-primary" type="submit">查询</button>
	</form>
	
	<ul class="breadcrumb alert-success">
		前三金额查询
	</ul>
	<form class="well form-inline" id="form1" action="<%=basePath %>sales/salesTicket?queryTop3Price" method="post">
		<label>时间:<input type="text" name="date" class="Wdate required" onfocus="WdatePicker()" placeholder="请输入选择时间 "></label>
		<label>日查询:<input type="radio" name="type" value="0" checked="checked"></label>
		<label>月查询:<input type="radio" name="type" value="1"></label>
		<label>人员:
			<form:select path="saler" title="人员" name="saler">
				<form:option value=""></form:option>
				<form:options items="${saler }"/>
			</form:select>
		</label>
		<label>店铺:
			<form:select path="shop" title="店铺" name="shop">
				<form:option value=""></form:option>
				<form:options items="${shop }"/>
			</form:select>
		</label>
		<button class="btn btn-primary" type="submit">查询</button>
	</form>
</body>
</html>